package com.epoint.androidphone.mobileoa.ui.main;


import android.content.Context;
import android.content.Intent;

/**
 * @author liyc
 * @time 2012-5-14 下午4:28:26
 * @annotation 图标
 */
public class GVIcon {

	public int iconImage;
	public String iconTitle;
	public Class<?> intentviews;
	public Intent intent;
	public GVIcon(Context con,int iconImage,String iconTitle,Class<?> intentviews,Intent intent){
		this.iconImage = iconImage;
		this.iconTitle = iconTitle;
		this.intentviews = intentviews;
		
		if(intent==null)
		{
			intent = new Intent();
		}
		intent.putExtra("viewtitle", iconTitle);
		this.intent = intent;
		if(intentviews!=null)
		{
			this.intent.setClass(con, intentviews);
		}
	}
}
